 package srdb.migration.schema.metadata;
 
 public class Function extends DBObject
 {
   private String funcName = null;
   private String schemaName = null;
   private String sql = "";
 
   public Function()
   {
   }
 
   public Function(String funcName, String schemaName) {
     this.funcName = funcName;
     this.schemaName = schemaName;
   }
 
   public String getName() {
     return this.funcName;
   }
 
   public void setSQL(String SQL) {
     String str = "";
     if (SQL.contains("/*-"))
       str = SQL.replaceFirst("/*-", " -");
     else {
       str = SQL;
     }
     this.sql += str;
   }
 
   public String getSQL() {
     return this.sql;
   }
 
   public DBObject getParent()
   {
     return null;
   }
 
   public String getSchema()
   {
     return this.schemaName;
   }
 }

/* 

 * 
 */